home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / Data.cab / _41A8A91F29F04D10876165A6D3D6E8B1 < prev    next >
Encoding:
Text File  |  2003-11-07  |  1014 b   |  46 lines

  1. light("spot_spotmap")
  2. {
  3.     pass()
  4.     {
  5.         tmu()
  6.         {
  7.             texgen("spotlight")
  8.  
  9.             texture()
  10.             {
  11.                 spotmap()
  12.                 addressfunc("clamp", "clamp", "clamp")
  13.  
  14.                 filtering("linear_no_mip")  //FIXIT
  15.             }
  16.  
  17.             colorop("mul", "texture", "tfactor", "current")
  18.             alphaop("mul", "texture", "tfactor", "current")
  19.         }
  20.  
  21.         tmu()
  22.         {
  23.             texgen("spotlight_z_att")
  24.  
  25.             texture()
  26.             {
  27.                 image("spot_z.png")
  28.                 addressfunc("clamp", "clamp", "clamp")
  29.                 filtering("linear_no_mip")
  30.             }
  31.  
  32.             colorop("mul", "texture", "current", "current")
  33.             alphaop("mul", "texture", "current", "current")
  34.         }
  35.  
  36.         tfactor(1,1,1,1)
  37.         colorgen("tfactor", "user", 0,0,0, "user", 0,0,0)
  38.  
  39.         blendfunc("one", "one")
  40.         depthfunc("lequal", 0)
  41.  
  42.         blackfog()
  43.     }
  44. }
  45.  
  46.